<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  User: 张建平
  Date: 2018/10/6
  Time: 16:16
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <base href="${pageContext.request.contextPath}/">
    <title>文件列表</title>
</head>
<body>

    <pre>
        <c:forEach var="item" items="${fileNames}" varStatus="stat">
            <img src="upload/${item}" alt="" width="80" height="80"><a href="file/download?fileName=${item}">下载</a>
            <br><br>
        </c:forEach>
    </pre>

</body>
</html>
